<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <%@taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Product</title>
</head>
<body>

<a href="productAdd.html">Add new product</a>

<table>
<s:iterator value="productList" status="status">
	<tr>
		<td>
			<s:property value="productId"/>
		</td>
		<td>
			<s:property value="productName"/>
		</td>
		<td>
			<s:property value="productPrice"/>
		</td>
		<td>
			<s:property value="productDescription"/>
		</td>
		<td>
			<s:property value="createdAt"/>
		</td>
		<td>
			<s:property value="updatedAt"/>
		</td>
		<td>
			<s:property value="deleteFlg"/>
		</td>
	</tr>
</s:iterator>
</table>
</body>
</html>